#include <iostream>
using std::string;

// IntCalculatorDlg.h : header file
//

#if !defined(AFX_INTCALCULATORDLG_H__482D4844_760A_4CAF_95B6_B260B019A445__INCLUDED_)
#define AFX_INTCALCULATORDLG_H__482D4844_760A_4CAF_95B6_B260B019A445__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CIntCalculatorDlg dialog

class CIntCalculatorDlg : public CDialog
{
// Construction
public:
	CIntCalculatorDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CIntCalculatorDlg)
	enum { IDD = IDD_INTCALCULATOR_DIALOG };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CIntCalculatorDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL
protected:
	string outBuff;
	int m_radix;
// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CIntCalculatorDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnButton_Equal();
	afx_msg void OnButton_Num1();
	afx_msg void OnButton_Num2();
	afx_msg void OnButton_Num3();
	afx_msg void OnButton_Num4();
	afx_msg void OnButton_Num5();
	afx_msg void OnButton_Num6();
	afx_msg void OnButton_Num7();
	afx_msg void OnButton_Num8();
	afx_msg void OnButton_Num9();
	afx_msg void OnButton_Num0();
	afx_msg void OnButton_Clear();
	afx_msg void OnButton_Add();
	afx_msg void OnButton_Sub();
	afx_msg void OnButton_Mult();
	afx_msg void OnButton_Div();
	afx_msg void OnButton_Point();
	afx_msg void OnCheck1();
	afx_msg void OnRadioOct();
	afx_msg void OnRadioDec();
	afx_msg void OnButton_LParen();
	afx_msg void OnButton_RParen();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_INTCALCULATORDLG_H__482D4844_760A_4CAF_95B6_B260B019A445__INCLUDED_)
